<html>

<head>
    <title>
        WebRTC Demo
    </title>
</head>

<body>
    <h1>
        WebRTC Demo Client
    </h1>

    <div id="buttons">
        <input id="roomId" type="text" placeholder="请输入房间id" maxlength="10">
        <button id="joinBtn" type="button">加入</button>
        <button id="leaveBtn" type="button">离开</button>
    </div>

    <div id="videos">
        <video id="localVideo" autoplay muted playsinline>本地窗口</video>
        <video id="remoteVideo" autoplay playsinline>远端窗口</video>
    </div>
</body>

<script src=js/main.js></script>

</html>